
import { post, get } from "@/utils/request.js"

// 新增被护理人
export function NursingCreate(data) {
    return post('/app/user/nursing/nursingCreate', data)
}

// 删除护理人
export function NursingDelete(data) {
    return post('/app/user/nursing/nursingDelete', data)
}

// 修改被护理人
export function NursingUpdate(data) {
    return post('/app/user/nursing/nursingUpdate', data)
}

// 获取被护理人
export function GetNursing(data) {
    return get('/app/user/nursing/getNursing', data)
}

// ---- 地址

// 新增地址
export function AddressCreate(data) {
    return post('/app/user/address/addressCreate', data)
}

// 删除地址
export function AddressDelete(data) {
    return post('/app/user/address/addressDelete', data)
}

// 修改地址
export function AddressUpdate(data) {
    return post('/app/user/address/addressUpdate', data)
}

// 获取地址
export function GetAddress(data) {
    return get('/app/user/address/getAddress', data)
}

// 获取订单分页
export function GetOrderPage(data) {
    return get('/app/user/orderPay/getOrderPage', data)
}

// 获取订单详情
export function GetOrderInfo(data) {
    return get('/app/user/orderPay/getOrderInfo', data)
}
